<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

  <c:import url="/view/include/header.jsp"/>
  <!-- end-->
  <div id="container_2">
    <dl class="top_img">
      <dd class="top_visuall_title">
        <p class="top_visuall_txt"><img src="/images/common/sub_titleimg_1.gif" alt="현대엘리베이터는 공정하고 투명한 기업문화 조성을 위해 상생의 경영방식을 추구합니다." width="497" height="64"/><a href="file:///C|/Users/ecg-youn/Downloads/noticeDetail.jsp"></a></p>
        <p class="top_visuall_txt_2"><img src="/images/common/sub_titleimg_2.gif" alt="" width="404" height="109"/></p>
      </dd>
    </dl>
    <div class="content"> 
      <!-- include start-->
      <s:if test="%{boardView.board_code.equals('BD301')}"><c:import url="/view/include/ethicLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD302')}"><c:import url="/view/include/complianceLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD303')}"><c:import url="/view/include/fairTradeLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD304')}"><c:import url="/view/include/workLeft.jsp"/></s:if>
      <s:if test="%{boardBean.board_code.equals('BD100')}"><c:import url="/view/include/noticeLeft.jsp"/></s:if>
      <!-- end-->
      <div class="sub_content">
        <dl class="ethic_title">
          <dd class="location"><img src="/images/common/home_img.gif" alt="집" width="15" height="15"/></dd>
          <dd class="location_txt">
          	<s:if test="%{boardView.board_code.equals('BD301')}">HOME > 준법지원 > 윤리경영 자료실</s:if>
          	<s:if test="%{boardView.board_code.equals('BD302')}">HOME > 준법지원 > 준법지원 자료실</s:if>
          	<s:if test="%{boardView.board_code.equals('BD303')}">HOME > 준법지원 > 공정거래 자료실</s:if>
          	<s:if test="%{boardView.board_code.equals('BD304')}">HOME > 준법지원 > 업무지원 자료실</s:if>
          	<s:if test="%{boardBean.board_code.equals('BD100')}">HOME > 공지사항</s:if>
          </dd>
        </dl>
        <dl class="img_ethic_box">
          <dd class="img_ethic">
          	<s:if test="%{boardView.board_code.equals('BD301')}"><img src="/images/ethic/ET_Archives.gif" alt="윤리경영 자료실" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD302')}"><img src="/images/compliance/CP_Archives.gif" alt="준법지원 자료실" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD303')}"><img src="/images/fairTrade/JT_Archives.gif" alt="공정거래 자료실" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD304')}"><img src="/images/work/SP_Archives.gif" alt="업무지원 자료실" width="166" height="23"/></s:if>
         	<s:if test="%{boardBean.board_code.equals('BD100')}"><img src="/images/notic/notic.gif" alt="공지사항" width="166" height="23"/></s:if>
          </dd>
        </dl>
        <dl class="img_ethic_box_2">
          <dd class="img_ethic">
          	<s:if test="%{boardView.board_code.equals('BD301')}"><!--<img src="/images/ethic/ET_title_4.gif" alt="윤리경영 관한 각종 자료모음입니다." width="639" height="16"/>--></s:if>
          	<s:if test="%{boardView.board_code.equals('BD302')}"><!--<img src="/images/compliance/CP_title_1.gif" alt="준법지원 관한 각종 자료모음입니다." width="639" height="16"/>--></s:if>
          	<s:if test="%{boardView.board_code.equals('BD303')}"><!--<img src="/images/fairTrade/JT_title_3.gif" alt="공정거래 관한 각종 자료모음입니다." width="639" height="16"/>--></s:if>
          	<s:if test="%{boardView.board_code.equals('BD304')}"><!--<img src="/images/work/SP_title_3.gif" alt="공정거래 관한 각종 자료모음입니다." width="639" height="16"/>--></s:if>
          	<s:if test="%{boardBean.board_code.equals('BD100')}"><!-- <img src="/images/notic/notic_title.gif" alt="현대엘리베이터에 관한 여러가지 소식들을 알려 드립니다." width="460" height="16"/> --></s:if>
          </dd>
        </dl>
        <!-- table 코딩 -->
        <dl class="qna_box">
          <dd>
            <table cellspacing="0" cellpadding="0" summary="" class="read">
              <caption>
              </caption>
              <rowgroup>
                <row width="">
                <row width="146px" >
              </rowgroup>
             <%--  <thead>
                <tr>
                  <th scope="row">${boardView.title}</th>
                  <th scope="row" style="text-align:right;"><span class="f_gray8">조회 | ${boardView.read_count }</span></th>
                </tr>
              </thead> --%>
               <tbody>
				<tr>
					<th width="75%">${boardView.title}</th>
					<th width="25%" style="text-align:right;"><span class="f_gray8">조회 | ${boardView.read_count }</span></th>
				</tr>
                <tr>
                  <td class="td3" scope="row"></td>
                  <td scope="row" style="width:163px;text-align:right;" >
                  	<span class="f_gray8"><strong>
                  		작성일 │ 
                  		<c:choose>
		            		<c:when test="${boardView.write_time.length() > 10}">${boardView.write_time.substring(0,10)}</c:when>
		            		<c:otherwise>${boardView.write_time}</c:otherwise>
		           		</c:choose>
                  	</strong></span>
                  </td>
                </tr>
                <tr>
                  <td colspan="2" class="td2">${boardView.content }</td>
                </tr>
                <tr>
                  <td class="qna_btn" colspan="2">
                  <span class="f_gray9"><strong>첨부</strong>: 
                  <a href="/board/fileDownload.hcom?board_seq=${boardView.board_seq }&save_type=board&attach_seq=${fileView.attach_seq1}">
                   ${fileView.file_name1}</span>
                  </a>
                  <a href="/board/fileDownload.hcom?board_seq=${boardView.board_seq }&save_type=board&attach_seq=${fileView.attach_seq2}">
                  ${fileView.file_name2}</a>
                  <a href="/board/fileDownload.hcom?board_seq=${boardView.board_seq }&save_type=board&attach_seq=${fileView.attach_seq3}">
                  ${fileView.file_name3}</a>
                  </td>
                </tr>
              </tbody>
            </table>
          </dd>
          <dd class="height20">&nbsp;</dd>
          <!-- table end-->
           <dd class="W_right_2">
          <s:if test="%{boardView.mem_name.equals(#session.name)}">
          		<c:if test="${boardView.answer_flag.equals('N') }">
          			<a href="/board/boardModifyForm.hcom?board_seq=${boardView.board_seq }&save_type=board"><img src="/images/common/btn_1.gif" width="70" height="25" alt="수정" /></a>&nbsp;&nbsp;
          		</c:if>
          	</s:if>
          <a href="/board/boardList.hcom?board_code=${boardView.board_code }"><img src="/images/common/btn_4.gif" alt="목록"/></a></dd>
          <dd class="height20">&nbsp;</dd>
          <dd class="height20">&nbsp;</dd>
        </dl>
      </div>
    </div>
  </div>
</div>
<!-- contanier end-->
</div>
<!-- footer start-->
<c:import url="/view/include/footer.jsp"/>
<!-- end-->
